#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	char arr[] = { "abcdef" };
	int sz = sizeof(arr) / sizeof(arr[0]);
	int left = 0;
	int right = sz-2;
	while (left < right)
	{
		char tem = arr[left];
		arr[left] = arr[right];
		arr[right] = tem;
		left++;
		right--;
	}
	printf("%s\n",arr);
	return 0;
}